class FooClass(object):
    """my very first class: FooClass"""
    version = 0.1
    
    def __init__(self, nm='John'):
        self.name = nm
        print 'Created a class instance for', nm
        
    def showname(self):
        print 'Your name is', self.name
        print 'My name is', self.__class__.__name__
        
    def showver(self):
        print self.version
        


foo1 = FooClass()

foo1.showname()
foo1.showver()
print FooClass.version

print '-'*15

foo2 = FooClass('Miles')
foo2.showname()
foo2.showver()
print FooClass.version